package communicationClasses;

import java.io.Serializable;

/**
 * An object the client sends to the server in order to request a login.
 * A name and password are in this class for the server to validate.
 */
public class LoginRequest implements Serializable {
	private static final long serialVersionUID = -3501110248291821314L;

	private String name;
	private String password;

	public LoginRequest(String name, String password) {
		this.name = name;
		this.password = password;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}
}
